2024-07-09T08:28:32.404+08:00  INFO 22100 --- [main] c.example.demo.JavaChatroomApplication   : Starting JavaChatroomApplication using Java 17.0.10 with PID 22100 (E:\java项目\java_chatroom\target\classes started by 王丛发 in E:\java项目\java_chatroom)
2024-07-09T08:28:32.407+08:00  INFO 22100 --- [main] c.example.demo.JavaChatroomApplication   : No active profile set, falling back to 1 default profile: "default"
2024-07-09T08:28:32.906+08:00  INFO 22100 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-07-09T08:28:32.908+08:00  INFO 22100 --- [main] o.a.catalina.core.AprLifecycleListener   : An older version [1.2.39] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5]
2024-07-09T08:28:32.912+08:00  INFO 22100 --- [main] o.a.catalina.core.AprLifecycleListener   : Loaded Apache Tomcat Native library [1.2.39] using APR version [1.7.4].
2024-07-09T08:28:32.915+08:00  INFO 22100 --- [main] o.a.catalina.core.AprLifecycleListener   : OpenSSL successfully initialized [OpenSSL 3.0.11 19 Sep 2023]
2024-07-09T08:28:32.921+08:00  INFO 22100 --- [main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-07-09T08:28:32.921+08:00  INFO 22100 --- [main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.25]
2024-07-09T08:28:32.952+08:00  INFO 22100 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-07-09T08:28:32.953+08:00  INFO 22100 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 523 ms
2024-07-09T08:28:33.286+08:00  INFO 22100 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path '/'
2024-07-09T08:28:33.291+08:00  INFO 22100 --- [main] c.example.demo.JavaChatroomApplication   : Started JavaChatroomApplication in 1.122 seconds (process running for 1.403)
2024-07-09T08:29:00.918+08:00  INFO 22100 --- [http-nio-8080-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-07-09T08:29:00.918+08:00  INFO 22100 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-07-09T08:29:00.919+08:00  INFO 22100 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2024-07-09T08:29:00.992+08:00  INFO 22100 --- [http-nio-8080-exec-5] com.example.demo.api.FriendAPI           : session 不存在
2024-07-09T08:29:00.992+08:00  INFO 22100 --- [http-nio-8080-exec-6] com.example.demo.api.MessageSessionAPI   : 获取 session 失败
2024-07-09T08:29:00.992+08:00  INFO 22100 --- [http-nio-8080-exec-4] com.example.demo.api.UserAPI             : 当前获取不到 session 对象
2024-07-09T08:29:03.914+08:00  INFO 22100 --- [http-nio-8080-exec-7] com.example.demo.api.UserAPI             : 用户登录, username:zhangsan, password:123
2024-07-09T08:29:03.936+08:00  INFO 22100 --- [http-nio-8080-exec-7] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-07-09T08:29:04.038+08:00  INFO 22100 --- [http-nio-8080-exec-7] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@47b52310
2024-07-09T08:29:04.039+08:00  INFO 22100 --- [http-nio-8080-exec-7] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2024-07-09T08:29:13.726+08:00  INFO 22100 --- [http-nio-8080-exec-9] com.example.demo.api.MessageSessionAPI   : [addMessageSession] 新增会话成功! sessionId=7, userId1=1, userId2=2
2024-07-09T08:29:19.224+08:00  INFO 22100 --- [http-nio-8080-exec-2] com.example.demo.api.MessageSessionAPI   : [addMessageSession] 新增会话成功! sessionId=8, userId1=1, userId2=3
2024-07-09T08:29:24.702+08:00  INFO 22100 --- [http-nio-8080-exec-1] com.example.demo.api.MessageSessionAPI   : [addMessageSession] 新增会话成功! sessionId=9, userId1=1, userId2=4
